package cn.zswltech.gruul.common.dal.vo;

import lombok.Data;

import java.util.List;


/**
 * @create: 2022-07-20
 **/

@Data
public class OrgRoleVO {
    private Long userId;

    private String orgCode;
    /**
     * 机构号
     */
    private Long orgId;

    private String orgName;

    private Long roleId;

    private String roleName;

    private String roleCode;



    @Data
    public static class OrgVO {
        /**
         * 机构号
         */
        private Long orgId;

        private String orgCode;

        private String orgName;

        private List<RoleVO> roles;

        @Data
        public static class RoleVO {

            private String roleCode;

            private Long roleId;

            private String roleName;
        }
    }

}
